Xceed .NET Libraries Documentation
Xceed.SSH.Core Assembly / Xceed.SSH.Core Namespace / SSHException Class / ToString Method / ToString<T>(IEnumerable<T>,ToStringFormatter<T>) Method
The type of the members of list.
The list to use to create the string representation of the current exception.
The delegate used to format the members of list.


    ToString<T>(IEnumerable<T>,ToStringFormatter<T>) Method
    Creates and returns a string representation of the current exception.
    Syntax
    'Declaration
     
    Public Overloads Shared Function ToString(Of T)( _
       ByVal list As IEnumerable(Of T), _
       ByVal formatter As Xceed.SSH.Core.SSHException.ToStringFormatter(Of T) _
    ) As String
     
    'Usage
     
    Dim list As IEnumerable(Of T)
    Dim formatter As Xceed.SSH.Core.SSHException.ToStringFormatter(Of T)
    Dim value As String
     
    value = SSHException.ToString(Of T)(list, formatter)

    Parameters

    list
    The list to use to create the string representation of the current exception.
    formatter
    The delegate used to format the members of list.

    Type Parameters

    T
    The type of the members of list.

    Return Value

    A string representation of the current exception.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also